public class Ketang2 {
    public static void main(String[] args) {
        int x=1;
        float y= 2.5f;
        while(y<100){
           y+=2.5;
           x++;
            if (x%5==0){
                y=y-6;
            }
        }
            System.out.println(x+" "+y);
        }
    }

